// import log from '@dfeidao/atom-nodejs/logger/log';
import login_out from '@dfeidao/atom-nodejs/msg/user-logout';

import { systemid } from '../../atom/config';
interface Message {
	usercode: string;
}


export default async function atom(msg: Message, action_id: string, session_id: string) {
	const usercode = msg.usercode;
	const res = await login_out(action_id, session_id, systemid, usercode);
	return res;
}
